package com.gph.etrip.model;

import android.content.Context;
import android.location.LocationManager;

import android.app.Activity;
import android.os.Bundle;


public class Location extends Model {
	private double longitude;
	private double latitide;
	public Location(double _longitude, double _latitude) {
		super();
		longitude  = _longitude;
		latitide = _latitude;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public double getLatitide() {
		return latitide;
	}
	public void setLatitide(double latitide) {
		this.latitide = latitide;
	}
	public static Location getLocation() {
		//LocationManager locationManager = (LocationManager)getContext().getSystemService(Context.LOCATION_SERVICE);
		//android.location.Location location = locationManager.getLastKnownLocation();
		//return new Location(location.getLongitude(), location.getLatitude());
		return null;
	}
	
}
